package com.springboot.dto;

import com.springboot.model.DoctorFieldForm;
import com.springboot.model.DoctorInfoForm;
import com.springboot.model.OrderForm;
import com.springboot.model.PatientInfoForm;

import java.util.ArrayList;

/**
 * 显示预约成功后的视图，包括医生的信息、病人的信息、病人的预约信息
 */
public class PatientOrderInfo {
    private DoctorInfoForm doctorInfoForm;
    private ArrayList<DoctorFieldForm> doctorFieldForms;
    private String patientName;
    private String patientTel;
    private String patientSex;
    private OrderForm orderForm;
    private PatientInfoForm patientInfoForm;

    public PatientOrderInfo() {
    }

    public PatientOrderInfo(DoctorInfoForm doctorInfoForm, ArrayList<DoctorFieldForm> doctorFieldForms,
                            String patientName, String patientTel, String patientSex, OrderForm orderForm) {
        this.doctorInfoForm = doctorInfoForm;
        this.doctorFieldForms = doctorFieldForms;
        this.patientName = patientName;
        this.patientTel = patientTel;
        this.patientSex = patientSex;
        this.orderForm = orderForm;
    }

    public PatientOrderInfo(DoctorInfoForm doctorInfoForm, ArrayList<DoctorFieldForm> doctorFieldForms,
                            String patientName, String patientTel, String patientSex, OrderForm orderForm,
                            PatientInfoForm patientInfoForm) {
        this.doctorInfoForm = doctorInfoForm;
        this.doctorFieldForms = doctorFieldForms;
        this.patientName = patientName;
        this.patientTel = patientTel;
        this.patientSex = patientSex;
        this.orderForm = orderForm;
        this.patientInfoForm = patientInfoForm;
    }


    public DoctorInfoForm getDoctorInfoForm() {
        return doctorInfoForm;
    }

    public void setDoctorInfoForm(DoctorInfoForm doctorInfoForm) {
        this.doctorInfoForm = doctorInfoForm;
    }

    public ArrayList<DoctorFieldForm> getDoctorFieldForms() {
        return doctorFieldForms;
    }

    public void setDoctorFieldForms(ArrayList<DoctorFieldForm> doctorFieldForms) {
        this.doctorFieldForms = doctorFieldForms;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientTel() {
        return patientTel;
    }

    public void setPatientTel(String patientTel) {
        this.patientTel = patientTel;
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    public OrderForm getOrderForm() {
        return orderForm;
    }

    public void setOrderForm(OrderForm orderForm) {
        this.orderForm = orderForm;
    }

    public PatientInfoForm getPatientInfoForm() {
        return patientInfoForm;
    }

    public void setPatientInfoForm(PatientInfoForm patientInfoForm) {
        this.patientInfoForm = patientInfoForm;
    }
}
